home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 March
/
PCWorld_2007-03_cd.bin
/
komunikace
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Text Box Banner 1.sd
< prev
next >
Wrap
INI File
|
2006-09-13
|
1KB
|
52 lines
[SUBJECT]
Description=Displays a scrolling text banner in a text box - 1st variant
ImageIndex=-1
Folder=Text Effects
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- begin script
;var posBan1=0, ban1, delayBan1, msgBan1;
;msgBan1="`message`";
;function banniere1() {
; delayBan1 = `delay`;
; if (posBan1 >= msgBan1.length)
; posBan1 = 0;
; else if (posBan1 == 0) {
; msgBan1 = ' ' + msgBan1;
; while (msgBan1.length < 128)
; msgBan1 += ' ' + msgBan1;
; }
; document.formBan1.Fbanniere1.value = msgBan1.substring(posBan1,posBan1+msgBan1.length);
; posBan1++;
; ban1 = setTimeout("banniere1(delayBan1)",delayBan1);
;}
;// end script -->
;</script>
;
[BODY_TAG]
;onLoad=" banniere1();" onUnload="clearTimeout(ban1)"
[BODY_TEXT]
;<form name="formBan1">
;<input type="text" name="Fbanniere1" size="`width`"><br>
;</form>
;
[`message`]
Kind=S
Value=This text is the preview of your result.
[`delay`]
Kind=N
Value=100
[`width`]
Kind=N
Value=40